package com.nf.recruitment.dao;

import com.nf.recruitment.entity.UserInfo;

public interface UserMapper {
    /**
     * 根据用户id查找用户
     * @param userId
     * @return
     */
    UserInfo getUserById(long userId);

    /**
     * 添加用户
     * @param userInfo
     */
    void saveUser(UserInfo userInfo);
}
